<input type="hidden" id="getMonth" value="{{params.month}}"/>
<input type="hidden" id="getYear" value="{{params.year}}"/>
<input type="hidden" id="getAccess" value="{{params.access}}"/>
<input type="hidden" id="perfId" />
<input type="hidden" id="empId" value="{{params.employeeId}}"/>
<div class="row-fluid">
	<div class="span12"  >
		<div class="tabbable">
			<ul class="nav nav-tabs" id="myTab">
				<li class="active" id="demo">
					<a data-toggle="tab" href="#staffInfo"> <i class="green icon-info-sign bigger-110"></i>
						绩效目标填写
					</a>
				</li>

			</ul>

			<div class="tab-content" id="wholePage" style="display:none">
				<div id="staffInfo" class="tab-pane active">
					<div class="mainForm">

						<form id="validateForm">
							<div class="well well-large">
								<h4 class="blue">基本信息</h4>
								（ <font color="red">*</font>
								标注为必填信息）
								<div class="contract-form form-horizontal row-fluid">
									<div class="span6">
										<div class="control-group ">
											<div class="title_left">
												考核周期 <font color="red">*</font>
											</div>
											<div class="controls">
												<!-- <input id="perfDate" name="perfDate" type="text"  class="span10" placeholder="考核周期">
												-->
												<span>
													<input id="perfDate" class="date-picker search_date" type="text" data-date-format="yyyy-mm" readonly="true" style="width:300px;"></span>
											</div>
										</div>
										<div class="control-group ">
											<div class=" title_left">
												所在部门
												<font color="red">*</font>
											</div>
											<div class="controls">
												<input type="hidden" id="deptId" />
												<input type="text"  id="department" readonly="true" style="width:300px;"/>

											</div>
										</div>
										<div class="control-group ">
											<div class=" title_left">项目所属部门</div>
											<div class="controls">
												<input type="hidden" id="preDeptId" />
												<input type="text"  id="projectDept" readonly="true" placeholder="项目所属部门" style="width:300px;background-color: white !important"/>
												<input type="button" id="chooseDept" value="..." />
											</div>
										</div>
									</div>

									<div class="span6">
										<div class="control-group ">
											<div class=" title_left">
												被考核人
												<font color="red">*</font>
											</div>
											<div class="controls">
												<input type="hidden" id="employeeid" />
												<input id="employee" name="employee" type="text"  class="span10" placeholder="被考核人" readonly='true'></div>
										</div>
										<div class="control-group ">
											<div class=" title_left">项目名称</div>
											<div class="controls">
												<input id="project" name="project" type="text"  class="span10" placeholder="项目名称" ></div>
										</div>
										{{!
										<div class="control-group ">
											<div class=" title_left">
												考核人
												<font color="red">*</font>
											</div>
											<div class="controls">
												<input type="hidden" id="assessmentid" />
												<input id="assessmentPerson" name="assessmentPerson" type="text"  class="span10" placeholder="考核人"></div>
										</div>
										}}
									</div>
								</div>
							</div>
							<div class="well well-large">
								<h4 class="blue">工作任务及目标（70%）</h4>
								<div id="task" class="contract-form form-horizontal row-fluid">
									<div class='span12'>
										<table id="table_bug_report" class="table table-striped table-bordered table-hover"  style="table-layout:fixed;">
											<thead>
												<tr>
													<th style="width:25%;word-wrap:break-word; text-align:center">工作事项</th>
													<th style="width:35%;word-wrap:break-word; text-align:center">预期成果描述</th>
													<th class="hidden-480" style="width:10%;word-wrap:break-word; text-align:center">权重</th>
													<th class="hidden-phone" style="width:20%;word-wrap:break-word; text-align:center">考核人</th>
													{{!
													<th class="hidden-480" style="width:10%;word-wrap:break-word; text-align:center">得分</th>
													}}
													<th style="width:10%;word-wrap:break-word; text-align:center">
														<input type="button" id="btnadd" class="btn btn-mini bigger btn-info" value="增行" />

													</th>
												</tr>
											</thead>

											<tbody id="tbd">

												<tr>
													<td class="span3">
														<textarea style='resize:none;text-align:left;height:100%' type='text' id='term' name='term'  class='span12'
													></textarea>
													</td>
													<td class="span3">
														<textarea style='resize:none;text-align:left;height:100%' type='text' id='content' name='content'  class='span12'></textarea>
													</td>
													<td class="span2 hidden-480" style='vertical-align:middle;'>
														<input style='text-align:center;height:100%' type='text' id='weight' name='weight'  class='span12'></td>
													{{!
													<td class="span3 hidden-phone">
														<!-- <input type='text' id='completion' name='completion'  class=' readonly="true"/>
														-->
													</td>
													}}
													<td class="span2 hidden-480" style='vertical-align:middle;'>
														<input type="hidden" id="assessmentPersonId" name="assessmentPersonId"/>
														<input type="hidden" id="hideName1" name="hideName1"/>
														<input type="hidden" id="assessmentPersonEmail" name="assessmentPersonEmail"/>
														<input style='text-align:center;height:100%' type='text' id='assessmentPerson'  class='span12'/>
													</td>

													<td class="span2" style='text-align:center;vertical-align:middle;'><i style='cursor:pointer;' id="deleteIcon" name="deleteIcon" class="icon-trash  bigger-150"></i>
													</td>
												</tr>

											</tbody>
										</table>

										<div id="taskBody"></div>
									</div>
								</div>
							</div>
						</form>

						<div class="row-fluid bottom-cmd">
							<div class="span8 hidden-phone"></div>
							<div class="span2">
								<input type="button" id="backBtn" class="btn span12" value="取消" onclick="window.location.href='/desktop'">
							</div>
							<div class="span2">
								<input type="button" id="saveBtn" class="btn btn-success span12" value="保存"/>
								<!-- <button id="saveBtn" class="btn btn-success span12" data-last="Finish">保存</button>
							-->
						</div>
					</div>
				</div>
			</div>
			{{!
			<div id="attachments" class="tab-pane">
				<ul class="files"></ul>
				<div class="file-list">
					<button id="file_upload">选择附件</button>
				</div>
			</div>
			<div id="promotionRecords" class="tab-pane">
				<ul class="files"></ul>
				<div class="file-list">
					<button id="file_upload">晋级记录</button>
				</div>
			</div>
			}}
		</div>

		<div id="tip" style="margin-top:30px;"></div>
	</div>
	<!--/span-->

	<div class="vspace-6"></div>
</div>

<div id="showOrgs" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h3 id="title">选择部门</h3>
	</div>
	<div class="modal-body">
		<div id="chooseOrg"></div>

	</div>
	<div class="modal-footer">
		<!-- <button id="choosenOrg"class="btn btn-primary">确定</button>
	-->
	<button id="cancle" class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
</div>
</div>